<?php


require_once( "PhpFaces/Event/Event.php" );

interface PhpFaces_Event_FacesListener {

}


/**
 * An interface implemented by objects that wish to be notified at the beginning and ending of processing for each standard phase of the request processing lifecycle.
 */
interface PhpFaces_Event_PhaseListener extends PhpFaces_Event_FacesListener{
	/** Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin. */
	public function beforePhase( PhpFaces_Event_PhaseEvent $event );
	/** Handle a notification that the processing for a particular phase has just been completed. */
	public function afterPhase( PhpFaces_Event_PhaseEvent $event );
	/** Return the identifier of the request processing phase during which this listener is interested in processing PhaseEvent  events. */
	public function getPhaseId();
	
}

?>